isinf — Test for Infinity


\begin{rail}
IsInf: 'isinf' '(' ( Scalar \vert Matrix ) ')' ;
\end{rail}
isinf tests if the argument is equal to ±∞. If the test is true, it returns 1, otherwise it returns 0. If the argument is a matrix, the test is performed element-by-element, returning a matrix the same size as the original. $\Longrightarrow$ This is not an built-in function. This function is normally loaded on start-up from the isinf.r file in the standard rlib directory. Use of the -r option, incorrectly setting the RLAB_LIB_DIR environmental variable, or modifying isinf.r may make this function unavailable.

Subsections